<?php
$listcategories = ListCategories_Gallery($html->getId());

$listPhotos     = ListPhotosById($html->getId());
?>